package com.ln.de1109.demo02;

/**
 * @author Ln
 * @version 终极版
 * @date 2022/11/9 16:37
 */
public class User implements UserInterface{
    private String name;

    public User(String name) {
        this.name = name;
    }

    @Override
    public void getMsg(String msg) {
        System.out.println(name+"介绍的公众号消息内容:"+msg);
    }
}
